<?php use_helper('JQuery')?>
<script type="text/javascript">
$(document).ready(function(){
      $("#enlaceCronogramaD").click(function(evento){
      $("#ajaxmodal").css({"display":"inline","position":"fixed","width":"180%","background":"rgba(0,0,0,.8)","height":"180%","background:":"#000000","z-index":"100","top":"0","left":"0"});
      $("#imageajax").css({"display": "inline","position":"absolute","top":"200px","left":"50%","width":"650px","height":"100px","display": "inline","margin-left":"-950px","margin-right":"-300px","background":"#f7fbfc","z-index":"101","padding":"30px 40px 34px"});
            
      $().reload("<?php echo url_for('Reportes/CronogramaFondo')?>", function(){

         $("#ajaxmodal").css("display", "none");
         $("#imageajax").css("display", "none");
     
      });
      
    });   
      
      $("#enlaceCronogramaC").click(function(evento){
      $("#ajaxmodal").css({"display":"inline","position":"fixed","width":"180%","background":"rgba(0,0,0,.8)","height":"180%","background:":"#000000","z-index":"100","top":"0","left":"0"});
      $("#imageajax").css({"display": "inline","position":"absolute","top":"200px","left":"50%","width":"650px","height":"100px","display": "inline","margin-left":"-950px","margin-right":"-300px","background":"#f7fbfc","z-index":"101","padding":"30px 40px 34px"});
      
      $().reload("<?php echo url_for('Reportes/CronogramaFondo')?>", function(){

         $("#ajaxmodal").css("display", "none");
         $("#imageajax").css("display", "none");
     
      });

   });
  
   
});
</script>
<div id="titulosproyecto" align="center"><h1>CRONOGRAMAS </h1></div><br>
<div align="center"><b>PROYECTO:</b><?php echo $proyecto->getNombre()?></div><br><br>
<div id="cajaprincipalproyecto" align="center">
<div id="cajacronogramas" align="center"><br>
    <a href="<?php echo url_for('Reportes/CronogramaFondo?id_fo='. $fdefecto->getIdFo())?>" id="enlaceCronogramaD"><button class="button button-green"><span><div class="spritesportafoliofondo" id="portafoliofondo_jpg" align="center"></div>Cronograma&nbsp;<?php echo strtoupper($fdefecto->getSiglasInst())?>  </span></button></a>
    <a href="<?php echo url_for('Reportes/CronogramaFondo?id_fo='. $fcontraparte->getIdFo())?>" id="enlaceCronogramaC"><button class="button button-green"><span><div class="spriteseditFondoContraparte" id="money-bag_jpg" align="center"></div>Cronograma&nbsp;<?php echo strtoupper($fcontraparte->getSiglasInst())?></span></button></a>
    <a href="<?php echo url_for('Reportes/index?id_pro='. $proyecto->getIdPro())?>"><button class="button2 button-green2"><span><div align="center"  class="spritesatras" id="atras_jpg" align="center"></div>Regresar a Menu_Reportes</span></button></a><br><br><br><br>
</div><br><br><br>
</div>
<div id="ajaxmodal" style="display: none;">
    <div id="imageajax" style="display: none;">
        <b>Su Petición esta siendo Procesada, Por favor Espere unos minutos</b><br><br>
</bt>        <?php echo image_tag('ajax-loader.gif');?>
    </div>    
</div>